-
Home
-
Enable Mastodon Apps
-
0.1.0
-
Code
-
Classes
- Mastodon_API
Total Complexity |
197 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
1,458 |
Lines of code |
1,269 |
Logical lines of code |
529 |
Comment lines |
31 |
Methods |
40 |
Properties |
2 |
Methods 40
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_friend_account_data() |
C |
29 |
22 |
141 |
get_status_array() |
B |
31 |
18 |
119 |
api_submit_post() |
A |
39 |
13 |
66 |
api_account_relationships() |
A |
42 |
13 |
50 |
add_rest_routes() |
A |
30 |
1 |
209 |
api_get_post_context() |
A |
42 |
10 |
54 |
api_account_follow() |
A |
47 |
11 |
32 |
webfinger() |
A |
45 |
9 |
41 |
get_json() |
A |
48 |
9 |
37 |
api_account_unfollow() |
A |
51 |
9 |
24 |
convert_activity_to_status() |
A |
39 |
5 |
78 |
get_activitypub_url() |
A |
55 |
8 |
18 |
rewrite_rules() |
A |
44 |
6 |
46 |
api_search() |
S |
47 |
5 |
38 |
api_account_statuses() |
S |
52 |
6 |
23 |
api_apps() |
S |
48 |
5 |
34 |
get_posts() |
S |
54 |
5 |
21 |
get_posts_query_args() |
S |
51 |
4 |
28 |
api_get_media() |
S |
58 |
3 |
15 |
api_nodeinfo() |
S |
47 |
1 |
42 |
api_post_media() |
S |
56 |
2 |
17 |
logged_in_for_private_permission() |
S |
64 |
3 |
10 |
convert_outbox_to_status() |
S |
64 |
3 |
10 |
get_acct() |
S |
63 |
3 |
10 |
allow_cors() |
S |
64 |
2 |
10 |
logged_in_permission() |
S |
64 |
2 |
10 |
api_timelines() |
S |
66 |
2 |
8 |
api_favourite_post() |
S |
65 |
2 |
9 |
api_unfavourite_post() |
S |
65 |
2 |
9 |
api_get_post() |
S |
69 |
2 |
7 |
check_url() |
S |
66 |
2 |
8 |
api_instance() |
S |
60 |
1 |
13 |
__construct() |
S |
72 |
1 |
6 |
register_hooks() |
S |
69 |
1 |
6 |
query_vars() |
S |
77 |
1 |
4 |
public_api_permission() |
S |
77 |
1 |
4 |
api_verify_credentials() |
S |
80 |
1 |
3 |
api_public_timeline() |
S |
82 |
1 |
3 |
api_account() |
S |
79 |
1 |
3 |
get_user_acct() |
S |
78 |
1 |
3 |